class EventBean {
  final EventType type;
  final dynamic data;
  EventBean({required this.type, required this.data});
}

enum EventType {
  changeMainPage("changeMainpage"),
  refreshProfile("refreshProfile"),
  refreshLightImge("refreshLightImge"),
  refreshMyLights("refreshMyLights"),
  newCheck("newCheck"),
  refreshEyeKnowledge("refreshEyeKnowledge"),
  changeManagePage("changeManagePage"),
  mobildMoving("mobileMoving"),
  ;

  final String title;

  const EventType(this.title);
}
